{* smarty *}
{config_load file='config.conf'}
<h2>Login:</h2>

<form action="index.php?action=perform_login" method="post">
    <table>
        <tr>
            <th>Login:</th>
            <td><input name="login" type="text"/></td>
        </tr>
        <tr>
            <th>Password:</th>
            <td><input name="password" type="password"/></td>
        </tr>
    </table>
    <input type="submit" value="ENVIAR" />
</form>

{if $login_error eq "true"}
    <div class="ui-state-highlight" style="margin: 10px;">
        <p  style="padding: 10px;"> 
        <span class="ui-icon ui-icon-info" style="float: left; margin-right: .3em;" ></span>
        <strong>Aviso: </strong> 
        Login ou password incorretos! Tente Novamente
    </p>
</div>
{/if}
<a href="#">recuperar senha</a>
<a href="{#add_new_user#}">cadastrar novo usuário</a>
